package com.example.application1.API;

import com.example.application1.Entity.TianQiBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface weatherApi {
//    http://api.tianapi.com/txapi/tianqi/index?key=APIKEY&city=上海市
    @GET("txapi/tianqi/index")
    Call<TianQiBean> getCall(@Query("key") String key,@Query("city") String city);
}
